import blogModule from "@/modules/blog";

export default async function getBlogs() {
  let blogs = await blogModule.getAll();
  if (!blogs) { return null;}
  return blogs;
};
